#ifndef SHOWCLOCK_H
#define SHOWCLOCK_H

#include "global.h"
#include "displaywidget.h"
#include <QPainter>
#include <QVBoxLayout>
#include <QTextBrowser>
#include <QString>
#include <QLabel>

class ShowClock : public DisplayWidget
{
public:
    explicit ShowClock(QWidget *parent=0, int num=0);
    ~ShowClock();
    SCREENTYPE type() {return CLOCK;}
    int screenNumber() {return screenNo;}

    void outputText(QString text);

private:
    QVBoxLayout* layout;
    QTextBrowser* textEdit;
    QLabel* textLabel;

    int screenNo;

public slots:
    void drawClock();
};

#endif // SHOWCLOCK_H
